Skip to main content

Api

Represents the Api class.

Properties

NameTypeDescription
SheetsArrayReturns the Sheets collection that represents all the sheets in the active workbook.
ActiveSheetApiWorksheetReturns an object that represents the active sheet.
SelectionApiRangeReturns an object that represents the selected range.
CommentsApiComment[]Returns all comments related to the whole workbook.
FreezePanesFreezePaneTypeReturns or sets the type of freeze panes.
AllCommentsApiComment[]Returns all comments from the current workbook including comments from all worksheets.
ReferenceStyleReferenceStyleReturns or sets the reference style.
WorksheetFunctionApiWorksheetFunctionReturns an object that represents the function list.
PivotTablesApiPivotTable[]Returns all pivot tables.

Methods